﻿var app = angular.module('app', ['ngRoute']);

app.config(function ($routeProvider, $httpProvider) {
    $routeProvider.when('/', {
        templateUrl: '/app/views/home.html',
        controller : 'HomeController'
    }).otherwise({
        redirectTo: '/'
    })
});